package dongshi.daddy.api.feign.beans;

import dongshi.daddy.feign.beans.CouponTemplateInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RequestCoupon {
    /*

        // 用户领券
        @NotNull
        private Long userId;

        // 券模板ID
        @NotNull
        private Long couponTemplateId;
    */
    // 用户领券
    @NotNull
    private Long userId;

    @NotNull
    private Long couponTemplateId;

    /**
     * 优惠券模板信息
     */
    private CouponTemplateInfo templateSDK;

    // Loadbalancer - 用作测试流量打标(客户端传入，即由外部调用决定是否走金丝雀服务器)
    private String trafficVersion;



}
